package sevensoft.行为型模式.责任链模式;

public class HandlerA extends Handler {

    public HandlerA() {
        setHandlerDays(3);
        setName("经理");
    }

    @Override
    protected void handlerLeave(LeaveRequest leaveRequest) {
        System.out.println(getName() + "：" + leaveRequest.getDays() + "天，批准！");
    }
}
